add cluster algorithm