WIP: started cps translation