removed unused bezier stuff