added function to see if cluster is working