adding block dagram for visualizer