Implemeted search method