added head, header and footer