added bezier curves