core/cg is finished for workable version