adding lesson 7 demo code