updated documentation to reflect current code.