if we weren't able to load the engine, we should throw an error, not return undefined.