move negate functions last