changes to timer to allow chaining