dir structure prep