Good job here.  You took advantage of a closure.