implemented addition of nodes in table with correct parent