added basic statistics interface