How to add a stage to a process?