Implement fetching courses for department