In order for you both parts of code to work on the exact same list, then you can use nations as an alias for nations around the world. A useful technique to do This is able to be to make use of the as search phrase for making the alias https://juliusiopsu.blogdon.net/the-basic-principles-of-germany-42816339