better editing of lines