boilerplate for course with closure.