minor change to cgp.h