just use float64 to avoid errors