Completed exercise 4-5