use lambdas with do-end blocks for multiline lambdas