changing from course to an array