Compact p10.rb