By default, the iPhone will ask to join newly discovered Wi-Fi networks and prompt for the password when required. Alternatively, it can join closed Wi-Fi networks manually.[92] The iPhone will automatically choose the strongest network, connecting to Wi-Fi instead of EDGE when it is available.[93] Similarly, the iPhone 3G and onwards prefer 3G to 2G, and Wi-Fi to either.[94]