use table not IFF for flags list or extra ones we add get duplicated