major modification of stat methods