Rewrite oracle as a wizard