Voluntary provision of public goods and technology