A new iOS 11 feature that showed up in the software’s latest beta release will prevent the iPhone from connecting to spotty WiFi connections, The Verge reports.

The idea is that, particularly in public and crowded places (like a cafe), the iPhone will be able to automatically detect poor WiFi connections and delete them from the list of available ones.

iOS already had a similar feature, WiFi Assist, which was introduced with iOS 9 two years ago; but WiFi Assist was meant to switch users off a bad network after they had connected to it, while iOS 11 seeks to remove potentially bad networks altogether from the start.

If you have the “Ask to join network” option enabled, you won’t get the annoying pop up notifications that show up every time you walk by a public space with open WiFi.

iOS 11 also introduced a handy auto-join button, on the other hand, which may come in handy to select certain WiFi networks a user trusts and might want to automatically join all the time.