Adding id to timeline