started on chapter 7
additional work on ch7