using Float.NaN added comment