refactor discount and price goods