added flag for ids