setting up parent for types