Continuing work on label generation for each line