getting code to work with c++11