stopped half-way through exercise 9