Splitting the stats parsing into two methods