going over the exercise in the book