refactored the documentation