Added time resetting