replace cps-transform by walk