allow for mean subtraction