New class solution, function refresh todo&test