working through exercise 8, getting there with it