Additional method for getting value of variable