Restaurant discounts and code improvements