import from curves_utils