add removing header functionality