Writing your code in MS word really is way better than trying to write it directly into the CAI gui. Editing is so much faster, you can show more on the screen at once, cut and paste works better, and finally you can add comments. I don't write anything directly into CAI, just copy/paste it all.