Handle time traveling