The ending turns out to be either too far-fetched or too obvious (depending on how involved you get into the movie). Despite all this, I have to say that it was amusing. It's not terribly deep, but I don't think it's meant to be. As the movie says, magic isn't meant to deceive, but perhaps meant to draw the audience into forgetting everything except the wonder of it all. It's better not to worry about the wherefores and what's, but just take the movie for the momentary diversion it is.