added NaN test for step