removed redundant header and footer