change the variable name to `gradient` or `gradientTotal`