change to using cubic bezier