https://www.4allcontracts.com/2022/04/how-to-manage-headers-and-footers-in.html