Amended output data generator for visualization. Further amendments would probably be requested. A full chain test is recommended.