make prediction the index