Redid the flowchart