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

....