add macros for interval timers
add macros for timeout timers