Changed location of value negation for easier use.