Exercise 1-23 is almost working