Added almost working bezier curves