fixed the radius and distance