changed from c++11 to c++0x