Use "mismanaging" in a sentence

1. But as I said, that’s simply a function of Iran mismanaging its economy.

2. Many people accused the government of mismanaging the environment and indirectly causing the flooding.