added location search functionality