wait for the flag

Disclaimer