Completed exercise 2.91