added connecting to cluster