change to another refund function in example