prepare country table for GUI