lambdas work in python 2.7