refactor course_name vs. course_id