Added NaN statement