rename priority to location for clarity