Dir restrcturing