find_curves_prototype work