header and footer are taken randomly