added stats to analysis