enforce uniqueness of courses