Code examples for CVG