a general purpose tracking timer