modifed home_connect