added parent and self directories