changing everything to node objects
lambda node
tree