updated closure vars