Completed stats calculation. Need to put the killing logic in