+require 'pp'
Should have been removed, the printing was for debugging.