exercise 4.5-4.7