PE6 completed in Ruby