add some lambdas from ch04