more closures and currying