closures and shorthand