flags works