working on calculate_gross