I am trying to print new result every time I search but the output keeps adding after the previous one, what I want is to clear previous result and display new results on