addition of discount calculator