update ch3 ~ exercise3.8