keeps track of time