more stats and better plotting