cleaned up the cps transformer