distributed version working