modified quicklambda to match examples