added location map functions