Changed to isFinite