added parent to self and things got messy