Made new 'search_for_location' function