added mandelbrot prototype