added get method for address