added cvec to match code and expand callbacks. added cvec_start