working on cpp