added generate clusters for data