Refactored processor