added sample size to output