added c_refline.m