Missed a ! out in the if