introduce approxdoccount