Stripped out a whole bunch of stuff so now it's just CW specific