oops - removed unnecessary float cast