add old dist_par changes