update documentation and fix commented out debugging line