parse country