added basic linear bezier curves( its bad)