Now working
Use quadratic when available