the solution for fengsi's test