Added refund functionality