adding new quadrtic stuff