edit cluster.rb(calc cluster)