dir restruction