made sure to fetch students before teachers