add a nicely overloaded notion of a StateVar