How investment pays dividends