switching to c++11