add timer and context