Flowchart of the complete procedure