add getLocation