Got vars working, not sure if I want to use it.
Added value type, should have done this from the beginning.