added courses to detail view