added flag task