solved exercise 15 in chapter5