flowchart for serial process