moved processing logic to processor class