add funcion of lab_courses