a line has two ends