minor edits to getTimeline