added header and footer elements