implement header manipulation