How to Do Magic Tricks