getting bezier curves to work