added paralleilzation, visualizer disabled at the moment