better overall flowchart