added flag attributes