integrate the cluster with the transition class

has to be a better way than this .