Updated cpp snips