Coded up CG, but it doesn't work yet.