add timer to frames