Changed to operating directly to the return pointer cw.