improve the curve