change error to say newFloat