save the root record
copy(&recordvalue,&data[root]);