lesson 6 code