moved discoverPeers to onCreate