Began Curve building function