HW 6- 8, done