Added the flow chart