add code processor.rb