A border fence must be completed. Then three-fifths of the elected House and Senate must pass a resolution stating that the fence is built and secure, and it must be approved by the president. Six months after the resolution is passed, illegal and undocumented immigrants who have overstayed their visa or entered the country without permission may apply to become legal residents.