use NetworkManager instead