merging visualizations and algorithm
merge