- added newFloat method