adding code for debugging for the exercise at 10.11