updated and changed the documentation