now supports total timelines length