Visualization Subroutine is now working