Correctly initialize  time