Edits to plusplus sketch