negates a function