initial discount_calculator() w/o any error testing