Added flags
flag in header