statistic stuff now in seperate branch