flag works