Magic is both an art and a science.