added clustertype support