checked pin.rb