add getAddress method