Simplify processing logic