Changing lines to set