added 9 & 10th function to flowchart.