added discount element to the view.