additionally the flag is hoisted