courses index for adding old class data