lines to text boxes