training data for index with task before it