moving node data into the model