Find the dependencies

and eliminate them.

explanation