fixed bugs and rewrited doc file