Example code used for teaching at SFSU