avoid C++11 (and remove debug output)