Title: The structure of magic