added flag problem