nested closures and bindings work -- need testing