finished general statistic module