finished visualization functions