array time

Used wrong variable to store the time….