more functions to spawn cluster