Added reference to parent class in child class structure
Changed parent reference to a pointer