moving negation compare to its own module
begin code cleanup
moving negation compare to its own module