CollateProcData edited to use the data argument