Improving statistics class