Add index to courses