Outline dispatcher process function better