Then that explains the bit in parentheses -- I thought it was an assignment, but instead a replacement.
Well, then. I'm guessing (sheer guess) that your complaint about only seeing two lines at the top of the screen is just because the rest have scrolled off, since you're doing this 84 times.
And so, how are the numbers off? Do you have lines longer than 100 characters, as mats mentioned earlier?