labels and points on the line