add class c_seg