more stats and nicer printing