add some kind of timer

not really tested, but should be ~70Hz.