write maps as table