added stadistics methods