updated comments
updated docs