dir struct changes