changing header and adding footer