Changed pin.rb