you may want to move this outside of the closure. Placing it here means it is scoped to the closure function. I would imagine that it wouldn't be accessible to use outside anymore.