i made the search function even better