Completed exercise 5-1