use isNaN instead