modify the plan.rb