Fixed flowchart in step 1