add params for cluster algo