department and course database completed