modify main function, delete usleep(500)
modify search functions comment send results code