pushed visualize code to bottom