updated addParent method to addNeighbor, removed addChild