change doc
add comments, cosmetic changes