- updated documentation to match code