Added the address sampling logic to the repo