def build_links(tld, region_code, states):
    """
    This will build start_urls, It needs to be available before the ChipotleSpider creation

    :param tld: 3rd level domain name to use for building the links e.g .co.uk
    :param region_code: region is an important url param required for the search
    :param states: A list of states or city to search
    :return: A list of well built links which will form part our start_urls
    """
    country_links = []
    for state in states:
        start_url = "https://www.chipotle.%s/locations/search?" % (tld,)
        start_url += "address=%s&distanceMode=1&region=%s&pageIndex=1&countPerPage=10&radius=500" \
                     % (state.strip(), region_code)
        country_links.append(start_url)
    return country_links