Rearrange initialization of time.