I think it's better to use Doubles instead of Floats