adding fractal pattern generation