updated mandelbrot example