use similar time code