parentType hook