add some method to class CLine