change pin.rb - 2