Moving decision logic to Processor module