added a line and saved a line