Issue #452 Added method for getting value for a variable