added getter and setter for total_sales