refactor order item totals