flag more flexible