Doorway and indexed magic