refactors the provision path