add distance limit