extract stats