Passing LineType to extract_label