debuging searching function