finish book sec 3.4 last exercise