allow for inline closures