Example code for course