using both deadline and steady timer examples