implemented the search logic
add logic redraw map if unwinded