returning object for module loaders