updated for added cpp snippets