add basic support for repeated timers (doesn't work yet)