add process function to 3 stage-chained modules