20oct14 added exercise 7