exercise solutions
exercise 4-6