What are you using flag to detect?