looks like quadratic part of quadratic term is working correctly