New exercise, tried to fix book, yet errors in both