removed private node stuff, fixed pointers