modify the closure