edited cluster procedure