added  implementation for variable class to throw exception on no value found 98