Updated Flowchart