Added get method to retrieve node value