An afternoon project implementing section 2 of the specified code examples