Investing for the common good