Of the panoply of wbetise I've pored over this has the most veracity.
source code is not available any more