Created static varible to control the number of times to add to the list...

....
You getting the idea yet?