changed courses to int