submitting major changes for phase 3 DistAlgo