added pointer to parent