added api with connect_to function