Staring at cwd regression and it looks like I got confused by my own API. Going to go to sleep and come back later