stats method added
basic test completed