cleaned up lesson 6 notes