syllabus counter function implemented