add a repr to ProcessState