* visualize.m rewrite