adding CG stuff