Decomposition of process text
Switch case added