added new cg_* fxns, #22