modify financing function