completed exercise 4-3