flags are saved between levels