done with c++ string