search now working, i dont know if is the best way