added Prob 2 Lesson 6