generalized doDiff (V1) working

lots of stats given