Did you mean `flag[0]` ?