I have the following code, i have declared the array times outside of the for loop,
inside the loop theres some stuff happening and it puts out one variable, which i want to add to the array
problem is it only puts in one value into the array, whats the correct way to do this to get it to work ?