add some basic statistical measures.