fixed document and comments