New header logic for example2