quadratic almost done