Changed method to check country names