Check for group and lesson