added courses data structure