correctly reset the results variable