Initial refund class and function