refactoring syllabus handlers