added placeCourse function