Fixed a booboo: if you enclose a function after an if statement, it will not allow multiple IF statements...

So I changed it from IF A IF B to IF not C :)