added clear results function