make using a global a flag