dont access ivars directly
remove cw_each and switch to standard api