cg doc stubs