Add stat utility