I need the data from time_array outside of the first loop. When I console.log(time_array) inside the first loop I get the followin