updated closure.