change abstractnode values to Nodes instead of objects