move to c++11 and shiny debug