ch3 exercise
Finish ch3 exercise