added variable for discount