updated provider to work with the newly implemented modules