added sample visualization