code to add countries from locations