trimming lines