when it became clear that the internal-combustion engine was polluting the atmosphere dangerously , the obvious remedy was to abandon such engines , and the desired remedy was to develop non-polluting engines .