mostly working, simple distributed case is working