working ccg (1 deriv)