add solution to Q3.2