almost finished 1st section of chapter 2