start problem3-21 solving (WA 9)