fixed the documentation as well