add footer, map and formatting