created header and extra pages