now with curves