wcreducer.rb