add switch for lecture