added function one in flowchart.