That's not necessary, since the code above that generates the "validated" event sets that variable already.