new version of course_axis generate