added getCoefficient implementation