checked comments and added updated flowchart