ch7 class sales_data gen