added flag table