Fixed some errors, now can print timeline.