countrysubref function

countrysubref