Adding better refund logic for Emp