Modifing the function of Searching