modified main flowchart