completed exercise 4