working on arrays for keeping track of time