revised to use getModuleProviderRecord instead of loadProject
turning memoizing on