more data example code, small typo in mean/med comp