solved exercise 3-3