No need for global flag