working on cps transformation