made the visualization smoother