move some comps to c