added parent directory and type field