get cost with discount