add footer and edit header