reworked flags