Added fractal managing code