lesson 13 sample code