prints to pred.csv