add is_connected