added bezier curve