Magicians can perfect tricks