breaking up lambdas