Understanding and controlling disclosure costs