Added conditionals for discount percentages