adding a class for course