generate error when there aren't timelines