completed documentation,fixed typos