The Structure Of Magic