In the process of coding Search function