implemented vizualization still buggy

and slow. working on that