added code that can modify the header