optimization 'cg' is added