Add flowchart correctly