make 031.rb a little bit shorter