working on inhouse dist computations