rearrange function class members & remove parent_nid_