working on exercise 21