added basic statistics.