remove global flag -- not needed