flowchart completed v.0.1