check c++11 features

try lambdas and auto