add cps generator base on the cps