groupping by lesson kind