enhancing dir structure