can dynamically get courses from the db now