pached generateStaticsNow Function