Writing countries to DB is implemented