visual magic routine