more beautiful papstats.py