adding Ex2 for ch 10