add code for c1 and c2 analysis;