Application of Bezier curves