added the interfaces Locator and PriorityQueue