added header and footer methods