comments and improved setCoefficient