extended by the add_connection function