changed the distance limit