Added timers and fixed array