Completed exercise 15-1