modded the vis stuff to have helper methods to pynn front end pages