implement the search car function