Updated pin.rb