handling the curves in Models