Why are you writing to it, and then in the next line of code, clearing the screen? .... Then looping through the same sequence???