Financing sources for the modernization of enterprises and factories