add timer, compiles ok