revised timer service to use interval