visualizer, sampling, all functional