there are no classrooms available initially
refactored a little bit logically