use ! instead of comparing variable to false