code for the courses