Added tentative location-finding code.