added NaN test for block