working on distributed code