finding the flag