first step to cluster mode