added multinode support