add discount;
change sql query for adding logic from discount