add Line class