Adding node attributes