functioning search with new map