redid dir structure