discretion to order repayment