modifying lesson 3