code samples for course projects