generate countries from the json and implement Radko's and Marin's work