the function search and print work!!!!! :)