added more cluster state code