add the ! in front of validate check