Exercise 3.3.4 -#3- fixed an error