add client and clusterService to vars