FLAG SIMULATION