function 'stats' is now 'PVFstats'