setting 1 flor global flag