add some comments
add statsums