completed exercise 4-1