Made "flag" a local.