updated flowchart with more arrows