New sketch for cpp only.