HW4.4 statistics box