add the getaddress method