Added sample_addresses method