Original version of pertViz model