completed exercise 4-4