flowchart modified