Add in stat calculation functions