Completed exercise 4