passing neg coefficients as well