added sample code for some new C++11 features