ok I seem to ahve fixed it by maknig it a while loop and
adding a removeChildAt command.
Without the remove child command it duplicates everything! So
I get two lots of date:1 and two lots of date:2 and so on. Can
anybody tell me why I am getting these duplicates please? becuase
im not sure the removeChildAt should really be there in a loop.