added NaN graceful output for held variable