updated documentation to exactly match source