Updated parent to $parent;