Yeah forgot the not, updated with braces (I normally use them but I was matching style below in the function).