Makes Value virtual, adds second value function
Adds shadows the visualizer

Also fixes indexing