better calcStats