minor work on statistics