Finished connected_to metho