distance is float