set parent during initialization