distance is now correct