Added these two visualization functions.