added relative location prioritization