added header and footer
added header and footer
some fixes