preparing global timestamp