patched up documentation