added header and footer