Adding fleg reset logic.