fixed the distributed example