make it faster and print out successful searches