accessing node attributes through symbols instead of strings