add addresses method to Client