more work on editing lines