Add print_header and print_footer methods
mark print_header and print_footer as private methods