updated documentation. fixed stupid typos