completed documentation, fixed typos