This is not the right way to write this, why is their a `raise ImportError` here?