changing everything to c++ strings