Modified flowchart