set flags instead of definitions