changed timelog into namedtuple