timer patching