Modify lines