added cluster procedure