adding get_addresses.hs