keep track of previous previousTime