new header and flags