add some comments to odd code
Merge pull request #1392 from dimagi/comments

add some comments to odd code