another crack at doc mgmt