combine the connection type into lessons